AtCoder Beginners Selection ABC086A
種別: 記事
カテゴリ: 競技プログラミング
サブカテゴリ: AtCoder > AtCoder Beginners Selection
タグ: #解いた問題
(工事中)
AtCoder で公開されているAtCoder Beginners Selection のABC086A を解いた
解き方
解答例
下は上記の方法で解いたときの提出結果である。また、その提出の際に提出したソースコードをその下に転記する。
code: C
#include <stdio.h>
int main() {
int a = 0;
int b = 0;
int res = 0;
res = scanf("%d %d", &a, &b);
if (a%2 == 0 || b%2 == 0) {
printf("Even\n");
} else {
printf("Odd\n");
}
}
私の提出一覧
table: submissions_atcoder_begginers_selection_ABC086A
提出のURL 提出時刻 結果 備考
1回目 https://atcoder.jp/contests/abs/submissions/21000972 2021-03-17T20:11:14+0900 AC
感想